import request from '@/utils/request'

export function getCusPage (params) {
  return request({
    url: `/situation/get/page/${params.currentPage}/${params.rows}`,
    method: 'get',
  })
}
export function getCusByName (params) {
  return request({
    url: `/situation/get/${params.currentPage}/${params.rows}/${params.name}`,
    method: 'get',
  })
}
export function getCusByFlag (params) {
  return request({
    url: `/situation/get/by-flag/${params.currentPage}/${params.rows}/${params.flag}`,
    method: 'get',
  })
}
